package Final__;

public class FinalExercise01 {
    public static void main(String[] args) {
        Circse circse = new Circse(5);
        circse.carArea();
    }
}
class Circse{
    private  double radius;
    private  final double PI = 3.14;

    public Circse(double radius) {
        this.radius = radius;
    }
    public void carArea(){
        System.out.println("圆的面积是：" + (radius * PI * radius));
    }
}